// import thunk from "redux-thunk";

import { createStore, applyMiddleware } from "redux";
import { connectRouter, routerMiddleware } from "connected-react-router";
import history from "./history";
import reducers from "./reducers";

const initialState = {};

const store = createStore(
  connectRouter(history)(reducers),
  initialState,
  applyMiddleware(routerMiddleware(history))
);

export default store;
